Automattic\Jetpack\Sync\Listener A

Total Complexity 63
Dependencies 8
Dependents 6
Total lines 473
Lines of code 225
Logical lines of code 104
Comment lines 182
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
get_actor()
B
44 18 37
enqueue_action()
A
42 11 61
bulk_enqueue_full_sync_actions()
S
50 7 30
can_add_to_queue()
S
58 4 15
sync_data_loss()
S
58 3 16
get_request_url()
S
67 4 6
init()
S
61 2 12
get_instance()
S
71 2 6
get_queue_size_limit()
S
82 1 3
set_queue_lag_limit()
S
81 1 3
get_queue_lag_limit()
S
82 1 3
force_recheck_queue_limit()
S
75 1 4
__construct()
S
78 1 4
full_sync_action_handler()
S
79 1 3
action_handler()
S
79 1 3
set_queue_size_limit()
S
81 1 3
get_full_sync_queue()
S
82 1 3
get_sync_queue()
S
82 1 3
should_send_user_data_with_actor()
S
74 1 4
set_defaults()
S
70 1 6